 // JavaScript Document
 
$(document).ready(function(){
						   
     /*角色导航js*/
      $("#xlcd ul").hide();
	  $(".jsdh").hover(function(){
								 
	       if($("#xlcd ul").css("display")=="none"){
		       $("#xlcd ul").show('show');
			   $(".jsdh").css("background","url(../images/affairs/jsdh_2.png) no-repeat");
			    $(".jsdh").css("width","129px");
				 $("#xlcd").css("width","129px");
				$("#xlcd").css("margin-top","134px");
				 
				 
				$(".cjsdh").css("background","url(../images/affairs/cjsdh.png) no-repeat")
				$("#cjsdh_next").css("width","100px");
				
		   }
		   else if($("#xlcd ul").css("display")=="block"){
		       $("#xlcd ul").hide( );
			    $(".jsdh").css("background","url(../images/affairs/jsdh.jpg) no-repeat");
			    $(".jsdh").css("width","100px");
				$("#xlcd").css("margin-top","104px");
		   }  
		   
		   
		   
	  })
	  /*公共服务导航js*/
	   $("#ggfw_next ul").hide();
	   $(".ggfw").hover(function(){
	         if($("#ggfw_next ul").css("display")=="none"){
			     $("#ggfw_next ul").show('show');
				 $(".ggfw").css("background","url(../images/affairs/ggfw_2.png) no-repeat");
				   $(".ggfw").css("width","129px");
				    $("#ggfw_next").css("width","129px");
				   
				   
			 }
			 else if($("#ggfw_next ul").css("display")=="block"){
			    $("#ggfw_next ul").hide( );
				 $(".ggfw").css("background","url(../images/affairs/ggfw_02.png) center no-repeat");
			 }
	  })
	  /*场景式导航js*/
	  $("#cjsdh_next ul").hide();
	   $(".cjsdh").hover(function(){
	       if($("#cjsdh_next ul").css("display")=="none"){
		       $("#cjsdh_next ul").show('show');
			    $(".cjsdh").css("background","url(../images/affairs/cjsdh_2.png) no-repeat");
				 $(".cjsdh").css("width","129px");
				 $("#cjsdh_next").css("margin-top","132px");
				 $("#cjsdh_next").css("width","129px");
		   }
		   else if($("#cjsdh_next ul").css("display")=="block"){
		        $("#cjsdh_next ul").hide();
			     $(".cjsdh").css("background","url(../images/affairs/cjsdh.png) no-repeat");
		   } 
	  })
 });
/**网上审批、公共参与效果*/
$(document).ready(function(){
      $(".wssp").mouseover(function(){
          $(".wssp").css("background","url(../images/affairs/wssp.png) no-repeat");
		  $(".wssp").css("width","145px");
		  $(".wssp").css("height","50px");
       })
	   $(".wssp").mouseout(function(){
	      $(".wssp").css("background","url(../images/affairs/wssp_1.png) no-repeat");
		  $(".wssp").css("width","145px");
		  $(".wssp").css("height","50px");
	   })
	    $(".ggcy").mouseover(function(){
          $(".ggcy").css("background","url(../images/affairs/ggcy_1.png) no-repeat");
		  $(".ggcy").css("width","143px");
		  $(".ggcy").css("height","51px");
       })
	   $(".ggcy").mouseout(function(){
          $(".ggcy").css("background","url(../images/affairs/ggcy.png) no-repeat");
		  $(".ggcy").css("width","143px");
		  $(".ggcy").css("height","51px");
       })
  });
 
 